Entity BaseAI
BaseAI is the Entity definition for the AI behavior of a computer-controlled Actor.
Subclass of Entity.
Functions
GetCurrentTarget () | GetCurrentTarget returns the current target of the Actor controlled by this AI. |
GetController () | GetController returns the Controller entity for this AI. |
GetAction () | GetAction returns the current action for the AI-controlled entity. |
GetNature () | GetNature returns the nature for the AI-controlled entity. |
GetTactic () | GetTactic returns the tactic for the AI-controlled entity. |
GetItemTag () | GetItemTag returns the item tag for the AI-controlled entity. |
GetTaunts () | GetTaunts returns the taunt group used by the AI-controlled entity. |
UsesCover () | UsesCover returns true if the AI will use nearby cover. |
UsesSneak () | UsesSneak returns true if the AI will sneak. |
IsSleeping () | IsSleeping returns true if the controlled entity is currently sleeping. |
IsSuppressed () | IsSuppressed returns true if the controlled entity is currently suppressed. |
IsAttemptSuppressed () | IsAttemptSuppressed returns true if the controlled entity has attempted to be suppressed. |
Functions
- GetCurrentTarget ()
-
GetCurrentTarget returns the current target of the Actor controlled by this AI.
Returns:
-
An Entity object corresponding to the AI's current target.
- GetController ()
-
GetController returns the Controller entity for this AI. The Controller holds waypoint and action information.
Returns:
-
A Controller entity for this AI's controller.
- GetAction ()
-
GetAction returns the current action for the AI-controlled entity.
Returns:
-
A string indicating the current action.
- GetNature ()
-
GetNature returns the nature for the AI-controlled entity.
Returns:
-
A string indicating the nature.
- GetTactic ()
-
GetTactic returns the tactic for the AI-controlled entity.
Returns:
-
A string indicating the tactic.
- GetItemTag ()
-
GetItemTag returns the item tag for the AI-controlled entity.
Returns:
-
A string indicating the item tag.
- GetTaunts ()
-
GetTaunts returns the taunt group used by the AI-controlled entity.
Returns:
-
A string indicating the taunt group.
- UsesCover ()
-
UsesCover returns true if the AI will use nearby cover.
Returns:
-
A boolean indicating if the AI will use cover.
- UsesSneak ()
-
UsesSneak returns true if the AI will sneak.
Returns:
-
A boolean indicating if the AI will sneak.
- IsSleeping ()
-
IsSleeping returns true if the controlled entity is currently sleeping.
Returns:
-
A boolean indicating if the controlled entity is currently sleeping.
- IsSuppressed ()
-
IsSuppressed returns true if the controlled entity is currently suppressed.
Returns:
-
A boolean indicating if the controlled entity is currently suppressed.
- IsAttemptSuppressed ()
-
IsAttemptSuppressed returns true if the controlled entity has attempted to be suppressed.
Returns:
-
A boolean indicating if the controlled entity has attempted to be suppressed.